{% extends "kore2columns.html" %}
{% load i18n %}

{% load multimedia_extras %}

{% block main-content %}



{% regroup object_list by category as category_list %} 



{% for category in category_list %}
        <h2  style="text-align:center">{{ category.grouper }}</h2>
        {% for item in category.list %}
        <div>
                
                <a href="{{ item.url }}">
                {% if item.image %}<img class="small-sticker" src="{% thumbnail item.image 60 60 %}" />
                {% else %}<img src="{{ MEDIA_URL }}static/img/default_profile.jpg" width="60"  class="small-sticker"/>
                {% endif %}
                <b>{{ item.title }}</b>
                {% if item.text %} {% autoescape off %}{{ item.text }}{% endautoescape %}
                {% endif %}
                
		</a>
        </div>
        <div style="clear:both;"></div>
        {% endfor %}
{% endfor %}






{% endblock %}


{% comment %}

{% block navigation %}
<div class="block">
<h3 >Catégories</h3>
{% regroup object_list by category as category_list %} 
<ul>
{% for category in category_list %}

<li><a href="#{{ category.grouper.id }}">{{ category.grouper }}</a></li>

{% endfor %}
</ul>
</div>
{% endblock %}

{% endcomment %}
